package org.example.app.order.assembler;

import org.example.client.order.dto.clientobject.OrderCO;
import org.example.client.order.dto.cmd.OrderCreateCmd;
import org.example.domain.order.entity.OrderEntity;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface OrderAssembler {

    OrderCO toCO(OrderEntity itemEntity);

    OrderEntity toEntity(OrderCreateCmd orderCreateCmd);
}
